{section name=error loop=$errors}
{strip}
    <p class="msg error">{$errors[error]}</p>
{/strip}
{/section}